package main

import (
	"fmt"
	"time"
)

func main() {
	flag := make(chan struct{})
	go func() {
		time.Sleep(3 * time.Second)
		flag <- struct{}{}
	}()
	fmt.Printf("终于等到了信号，%T, %[1]v", <-flag)
}
